.img-list{
    display: inline-block;
    width: 240px;
    height: 240px;
    line-height: 240px;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 10px;
    margin: 10px;
    overflow: hidden;
    img{
        width: 100%;
    }
}